#ifndef __HIKARI_UTILS__
#define __HIKARI_UTILS__

#include <clocale>
#include <locale>
#include <string>
#include <vector>

class Utils{
public:
	static std::string wstring_to_string(const std::wstring& text);
	static std::wstring string_to_wstring(std::string& text);
	static bool equal(std::wstring&str1,std::wstring&str2);
	static bool equal(std::wstring&str1, const wchar_t*str2);
	static bool isEmpty(std::wstring&string);
	static long hash_WString(const std::wstring&s);
	static int lastIndexOf(std::wstring&string, wchar_t symbol);
	static std::wstring replaceWString(std::wstring&string, wchar_t toFind, wchar_t toReplace);
	static std::wstring getFileExtension(std::wstring&path);
	static std::wstring getFilePath(std::wstring&path);
	static std::wstring getFileWithExtension(std::wstring&path);
	static std::wstring getFileNameWithoutExtension(std::wstring&path);
	static void errorLog(std::wstring&message);
	static void errorLog(const wchar_t*message);
};

#endif